#include <iostream>
#include <cassert>
#include <initializer_list>
#include <array>
using namespace std;

int main()
{
    initializer_list<string> a{"hello", "nihao"};

    for (auto iter = a.begin(); iter != a.end(); ++iter)
    {
        cout << *iter << "\n";
    }
    array<double, 3> ar{1, 2, 3};
    cout << sizeof(ar) << endl;
    const int size = 100000000;
    // array<double, size> arr;
    // for(int i = 0; i < size; ++i)
    // {
    //     arr[i] = i;
    // }
    double* darr = new double[size];
    for(int i = 0; i < size; ++i)
    {
        darr[i] = i;
    }
    cout << sizeof(ar) << endl;
    return 0;
}